package site.zhouinfo;

public class HelloJNI {

    static {
        System.loadLibrary("HelloJNI"); // 引用lib/HelloJNI.dll win为*.dll Linux 为 *.so
    }

    // 调用C/C++方法
    public native void sayHello();

    public static void main(String[] args) {
        System.out.println("zhouinfo");
        new HelloJNI().sayHello();
    }
}
